[Template:scriptincludes.html]
<script>
    $(document).ready(function () {
        $("#tabs").tabs({
            cookie: {}
        });
    });
</script>	

		<div id="tabs">
			<ul>
				<li><a href="#tabs-1">Reports</a></li>
				<li><a href="#tabs-2">Settings</a></li>
				<li><a href="#tabs-3">Configuration</a></li>
			</ul>

<div id="tabs-2">
<div class="nwb-button-container">
[<tag id="cmdUpdate1" type="linkbutton" text=" Update" tooltip="Update" cssclass="nwb-button primary icon approve" commandname="Update" commandargument="ItemID"/>]
</div>
<div>
[<tag id="ItemID" type="hidden" value="" />]
[<tag id="HomeDirectoryMapPath" type="hidden" value="" />]
[<tag id="controlMapPath" type="hidden" value="" />]
[<tag id="moduleid" type="hidden" value="" />]
[<tag id="InvoiceReport" type="hidden" value="" />]
[<tag id="DomainReport" type="hidden" value="" />]
[<tag id="ClientReport" type="hidden" value="" />]
<table class="datatable" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>SchedulerLastRunDay : </td>
<td>[<tag id="schedulerlastrunday" type="textbox" width="20" maxlength="2" />]&nbsp;Only ran once per day. Change Day to re-run.</td>
</tr>
<tr>
<td>From Email : </td>
<td>[<tag id="txtFromEmail" type="textbox" width="200" maxlength="200" />]</td>
</tr>
<tr>
<td>Admin Email : </td>
<td>[<tag id="txtAdminEmail" type="textbox" width="200" maxlength="200" />]</td>
</tr>
<tr>
<td>Day of month to run client email reports : </td>
<td>[<tag id="txtClientEmailDay" type="textbox" width="20" maxlength="2" />]</td>
</tr>
<tr>
<td>Client Email Reports : </td>
<td>[<tag id="chkActiveReports" type="checkbox" text="Active" />]</td>
</tr>
<tr>
<td>Lead Days to Create Invoices : </td>
<td>[<tag id="txtInvoiceHostingBefore" type="textbox" width="30" maxlength="3" />]</td>
</tr>
<tr>
<td>Test Mode : </td>
<td>[<tag id="chkTestMode" type="checkbox" text="Test Run. No invoices created. Emails sent to Test Email Address." />]</td>
</tr>
<tr>
<td>Test Email : </td>
<td>[<tag id="txtTestEmail" type="textbox" width="200" maxlength="200" />]</td>
</tr>
</table>
</div>
</div>


<div id="tabs-1">
<div>
<h2>Hosting Invoice History</h2>
[<tag type="valueof" xpath="genxml/hidden/invoicereport" />]
</div>
<div>
<h2>Domain Invoice History</h2>
[<tag type="valueof" xpath="genxml/hidden/domainreport" />]
</div>
<div>
<h2>Client Email Report History</h2>
[<tag type="valueof" xpath="genxml/hidden/clientreport" />]
</div>
</div>

<div id="tabs-3">
<div class="nwb-button-container">
[<tag id="cmdUpdate2" type="linkbutton" text=" Update" tooltip="Update" cssclass="nwb-button primary icon approve" commandname="Update" commandargument="ItemID"/>]
</div>
<table class="datatable" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>Company Name : </td>
<td>[<tag id="txtCompanyName" type="textbox" width="200" maxlength="200" />]</td>
</tr>
<tr>
<td>Company Address : </td>
<td>[<tag id="txtCompanyAddress" type="textbox" width="400" height="150" textmode="MultiLine" />]</td>
</tr>
<tr>
<td>Payment Link : </td>
<td>[<tag id="txtPaymentLink" type="textbox" width="300" maxlength="200" />][<tag id="chkAddPayAmt" type="checkbox" text="Add Payment Amount to end of link" />]</td>
</tr>
<tr>
<td>Client Report Title : </td>
<td>[<tag id="txtClientReportTitle" type="textbox" width="300" maxlength="200" />]</td>
</tr>
<tr>
<td>Currency Sign : </td>
<td>[<tag id="txtcurrencysign" type="textbox" width="50" maxlength="10" />]</td>
</tr>
<tr>
<td>PDF Logo Image : </td>
<td>[<tag id="txtlogofilename" type="textbox" width="200" maxlength="50" />] (This should be found in the portal root)</td>
</tr>
<td>Estimate/Invoice Footer : </td>
<td>[<tag id="txtpagefooter" type="textbox" width="800" maxlength="400" />]</td>
</tr>
<tr>
<td>Custom Theme Folder : </td>
<td>[<tag id="txtthemefolder" type="textbox" width="200" maxlength="200" />]</td>
</tr>
</table>
<br />
<div class="configdata">
<h2>Configuration</h2>
[<tag id="txtConfig" type="textbox" width="1100" height="450" textmode="MultiLine" />]
</div>
</div>

</div>
